package com.factory.service.impl;

import com.factory.dao.SaleRecord;
import com.factory.mapper.SaleRecordMapper;
import com.factory.service.SaleRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SaleRecordServiceImpl implements SaleRecordService {

    @Autowired
    SaleRecordMapper saleRecordMapper;

    @Override
    public List<SaleRecord> queryAll() {
        return saleRecordMapper.queryAll();
    }
}
